package cn.edu.zsc.blms.domain;

public class Book extends BaseEntity{
    public static int idCounter;
    public int id;
    public String name;
    public  String isbn;
    public String category;
    public String author;
    public String press;
    public double price;
    public boolean disable;

    public Book(){
        super(idCounter++);
    }

    public Book(String name,String isbn,String category,String author,String press,double price){
        this();
        this.name=name;
        this.isbn=isbn;
        this.category=category;
        this.author=author;
        this.press=press;
        this.price=price;
    }

}
